﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<System.Web.Mvc.HandleErrorInfo>" Title="错误"%>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Sorry, <%=ViewData["Message"] %>
    </h2>
    <br />
    <a href="javascript:history.back();">返回上一页</a>
    <br />
    <%if (Model!= null && Model.Exception != null)
	  { %>
		<div>
		<b>详细信息：</b><p><%=Html.Encode(Model.Exception.Message)%></p>
		<p><%= Html.Encode(Model.Exception.StackTrace)%></p>
		</div>
    <%} %>
</asp:Content>
